package com.yhq.spring.manual;

import com.yhq.spring.manual.test.PersonService;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author hqyin
 * @date 2023/4/6 5:12 下午
 */
@ComponentScan("com.yhq.spring.manual.test")
public class TestManualSpring {
    public static void main(String[] args) {
        YhqContext yhqContext = new YhqContext(TestManualSpring.class);
        PersonService personService = (PersonService) yhqContext.getBean("personService");
        personService.test();
    }
}
